#ifndef SEMANTICNODEBLOCKTERMINATE_H_
#define SEMANTICNODEBLOCKTERMINATE_H_

#include "SemanticNode.h"
#include "LabeledNode.h"
#include <string>
#include <vector>

class SemanticNodeExpression;
extern MainContainer *CompilerData;

class SemanticNodeBlockTerminate : public SemanticNode, public LabeledNode {
private:
	SemanticNodeExpression *terminateExpression;

public:
	SemanticNodeBlockTerminate(const SyntaxTreeNode *terminateNodeParent, SemanticNode *parent);

	void setExpression(SemanticNodeExpression *termination);

	virtual std::string toDebugString(int tab);
};

#endif /* SEMANTICNODEBLOCKTERMINATE_H_ */